package cloud.dwz.entity;

import java.io.Serializable;

public final class AuthEntity implements Serializable{

    //roleId系统角色id,employeeRoleId员工角色Id,同一个账号仅能二选一角色
    private Long userId,roleId,employeeRoleId;

    private String password,salt;

    private Integer status;

    /**当flag是0时说明是经营主体角色且未完善个人资料及未完善经营主体信息*/
    private Integer flag;

    public Long getUserId(){
        return userId;
    }

    public void setUserId(Long userId){
        this.userId = userId;
    }

    public Long getEmployeeRoleId(){
        return employeeRoleId;
    }

    public void setEmployeeRoleId(Long employeeRoleId){
        this.employeeRoleId = employeeRoleId;
    }

    public Long getRoleId(){
        return roleId;
    }

    public void setRoleId(Long roleId){
        this.roleId = roleId;
    }

    public String getPassword(){
        return password;
    }

    public void setPassword(String password){
        this.password = password;
    }

    public String getSalt(){
        return salt;
    }

    public void setSalt(String salt){
        this.salt = salt;
    }

    public Integer getStatus(){
        return status;
    }

    public void setStatus(Integer status){
        this.status = status;
    }

    public Integer getFlag(){
        return flag;
    }

    public void setFlag(Integer flag){
        this.flag = flag;
    }
}